.class Lcom/melesta/payment/inapp/InAppSystem$InAppPurchaseObserver;
.super Lcom/google/PurchaseObserver;
.source "InAppSystem.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/melesta/payment/inapp/InAppSystem;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "InAppPurchaseObserver"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/melesta/payment/inapp/InAppSystem;


# direct methods
.method public constructor <init>(Lcom/melesta/payment/inapp/InAppSystem;Landroid/os/Handler;)V
    .locals 1
    .parameter
    .parameter "handler"

    .prologue
    .line 93
    iput-object p1, p0, Lcom/melesta/payment/inapp/InAppSystem$InAppPurchaseObserver;->this$0:Lcom/melesta/payment/inapp/InAppSystem;

    .line 94
    #getter for: Lcom/melesta/payment/inapp/InAppSystem;->mContext:Landroid/content/Context;
    invoke-static {p1}, Lcom/melesta/payment/inapp/InAppSystem;->access$000(Lcom/melesta/payment/inapp/InAppSystem;)Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    invoke-direct {p0, v0, p2}, Lcom/google/PurchaseObserver;-><init>(Landroid/app/Activity;Landroid/os/Handler;)V

    .line 95
    return-void
.end method


# virtual methods
.method public onBillingSupported(Z)V
    .locals 3
    .parameter "supported"

    .prologue
    .line 100
    const-string v0, "payment-inapp"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "supported: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 102
    if-eqz p1, :cond_0

    .line 103
    iget-object v0, p0, Lcom/melesta/payment/inapp/InAppSystem$InAppPurchaseObserver;->this$0:Lcom/melesta/payment/inapp/InAppSystem;

    #calls: Lcom/melesta/payment/inapp/InAppSystem;->restoreDatabase()V
    invoke-static {v0}, Lcom/melesta/payment/inapp/InAppSystem;->access$100(Lcom/melesta/payment/inapp/InAppSystem;)V

    .line 107
    :cond_0
    return-void
.end method

.method public onPurchaseStateChange(Lcom/google/Consts$PurchaseState;Ljava/lang/String;IJLjava/lang/String;)V
    .locals 9
    .parameter "purchaseState"
    .parameter "itemId"
    .parameter "quantity"
    .parameter "purchaseTime"
    .parameter "developerPayload"

    .prologue
    .line 114
    const-string v6, "payment-inapp"

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    const-string v8, "onPurchaseStateChange() itemId: "

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, " "

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {v6, v7}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 118
    invoke-static {}, Lcom/melesta/payment/PaymentManager;->getInstance()Lcom/melesta/payment/PaymentManager;

    move-result-object v3

    .line 119
    .local v3, pm:Lcom/melesta/payment/PaymentManager;
    new-instance v6, Lcom/melesta/payment/inapp/InAppRequestFilter;

    invoke-direct {v6}, Lcom/melesta/payment/inapp/InAppRequestFilter;-><init>()V

    invoke-virtual {v6, p2}, Lcom/melesta/payment/inapp/InAppRequestFilter;->setSku(Ljava/lang/String;)Lcom/melesta/payment/inapp/InAppRequestFilter;

    move-result-object v6

    invoke-virtual {v3, v6}, Lcom/melesta/payment/PaymentManager;->getActiveRequest(Lcom/melesta/payment/interfaces/IRequestFilter;)Lcom/melesta/payment/interfaces/IRequest;

    move-result-object v4

    check-cast v4, Lcom/melesta/payment/inapp/InAppRequest;

    .line 120
    .local v4, request:Lcom/melesta/payment/inapp/InAppRequest;
    if-nez v4, :cond_0

    .line 142
    :goto_0
    return-void

    .line 123
    :cond_0
    sget-object v6, Lcom/google/Consts$PurchaseState;->PURCHASED:Lcom/google/Consts$PurchaseState;

    if-ne p1, v6, :cond_1

    .line 124
    new-instance v5, Lcom/melesta/payment/PaymentTransaction;

    invoke-direct {v5}, Lcom/melesta/payment/PaymentTransaction;-><init>()V

    .line 125
    .local v5, tr:Lcom/melesta/payment/PaymentTransaction;
    invoke-virtual {v4}, Lcom/melesta/payment/inapp/InAppRequest;->getName()Ljava/lang/String;

    move-result-object v6

    iput-object v6, v5, Lcom/melesta/payment/PaymentTransaction;->paymentId:Ljava/lang/String;

    .line 126
    invoke-virtual {v4}, Lcom/melesta/payment/inapp/InAppRequest;->getCountPerItem()I

    move-result v6

    iput v6, v5, Lcom/melesta/payment/PaymentTransaction;->quantity:I

    .line 127
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v6

    iput-wide v6, v5, Lcom/melesta/payment/PaymentTransaction;->time:J

    .line 129
    invoke-static {}, Lcom/melesta/engine/EngineActivity;->getInstance()Lcom/melesta/engine/EngineActivity;

    move-result-object v6

    invoke-static {v6}, Lcom/melesta/engine/DatabaseHelper;->getHelper(Landroid/content/Context;)Lcom/melesta/engine/DatabaseHelper;

    move-result-object v6

    const-wide/16 v7, -0x1

    invoke-virtual {v6, v7, v8, v5}, Lcom/melesta/engine/DatabaseHelper;->saveTransaction(JLcom/melesta/payment/PaymentTransaction;)J

    move-result-wide v0

    .line 131
    .local v0, id:J
    new-instance v6, Lcom/melesta/payment/inapp/InAppResponse;

    invoke-direct {v6}, Lcom/melesta/payment/inapp/InAppResponse;-><init>()V

    invoke-virtual {v4}, Lcom/melesta/payment/inapp/InAppRequest;->getName()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Lcom/melesta/payment/inapp/InAppResponse;->setName(Ljava/lang/String;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v6

    invoke-virtual {v4}, Lcom/melesta/payment/inapp/InAppRequest;->getSku()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v7}, Lcom/melesta/payment/inapp/InAppResponse;->setSku(Ljava/lang/String;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v6

    sget-object v7, Lcom/melesta/payment/inapp/InAppResponse$Status;->PURCHASE:Lcom/melesta/payment/inapp/InAppResponse$Status;

    invoke-virtual {v6, v7}, Lcom/melesta/payment/inapp/InAppResponse;->setStatus(Lcom/melesta/payment/inapp/InAppResponse$Status;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v6

    invoke-virtual {v4}, Lcom/melesta/payment/inapp/InAppRequest;->getCountPerItem()I

    move-result v7

    invoke-virtual {v6, v7}, Lcom/melesta/payment/inapp/InAppResponse;->setCountPerItem(I)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v6

    iget-object v7, p0, Lcom/melesta/payment/inapp/InAppSystem$InAppPurchaseObserver;->this$0:Lcom/melesta/payment/inapp/InAppSystem;

    #getter for: Lcom/melesta/payment/inapp/InAppSystem;->defaultListener:Lcom/melesta/payment/interfaces/IListener;
    invoke-static {v7}, Lcom/melesta/payment/inapp/InAppSystem;->access$200(Lcom/melesta/payment/inapp/InAppSystem;)Lcom/melesta/payment/interfaces/IListener;

    move-result-object v7

    invoke-virtual {v6, v7}, Lcom/melesta/payment/inapp/InAppResponse;->setListener(Lcom/melesta/payment/interfaces/IListener;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v2

    .line 136
    .local v2, inAppResponse:Lcom/melesta/payment/inapp/InAppResponse;
    invoke-virtual {v2, v0, v1}, Lcom/melesta/payment/inapp/InAppResponse;->setInternalId(J)V

    .line 138
    invoke-virtual {v3, v2}, Lcom/melesta/payment/PaymentManager;->postResponse(Lcom/melesta/payment/interfaces/IResponse;)V

    .line 141
    .end local v0           #id:J
    .end local v2           #inAppResponse:Lcom/melesta/payment/inapp/InAppResponse;
    .end local v5           #tr:Lcom/melesta/payment/PaymentTransaction;
    :cond_1
    invoke-virtual {v3, v4}, Lcom/melesta/payment/PaymentManager;->removeActiveRequest(Lcom/melesta/payment/interfaces/IRequest;)V

    goto :goto_0
.end method

.method public onRequestPurchaseResponse(Lcom/google/BillingService$RequestPurchase;Lcom/google/Consts$ResponseCode;)V
    .locals 4
    .parameter "request"
    .parameter "responseCode"

    .prologue
    .line 148
    const-string v1, "payment-inapp"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "onRequestPurchaseResponse() itemId: "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p1, Lcom/google/BillingService$RequestPurchase;->mProductId:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ": "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 152
    invoke-static {}, Lcom/melesta/payment/PaymentManager;->getInstance()Lcom/melesta/payment/PaymentManager;

    move-result-object v1

    new-instance v2, Lcom/melesta/payment/inapp/InAppRequestFilter;

    invoke-direct {v2}, Lcom/melesta/payment/inapp/InAppRequestFilter;-><init>()V

    iget-object v3, p1, Lcom/google/BillingService$RequestPurchase;->mProductId:Ljava/lang/String;

    invoke-virtual {v2, v3}, Lcom/melesta/payment/inapp/InAppRequestFilter;->setSku(Ljava/lang/String;)Lcom/melesta/payment/inapp/InAppRequestFilter;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/melesta/payment/PaymentManager;->getRequest(Lcom/melesta/payment/interfaces/IRequestFilter;)Lcom/melesta/payment/interfaces/IRequest;

    move-result-object v0

    check-cast v0, Lcom/melesta/payment/inapp/InAppRequest;

    .line 156
    .local v0, r:Lcom/melesta/payment/inapp/InAppRequest;
    if-nez v0, :cond_0

    .line 194
    :goto_0
    return-void

    .line 159
    :cond_0
    sget-object v1, Lcom/google/Consts$ResponseCode;->RESULT_OK:Lcom/google/Consts$ResponseCode;

    if-ne p2, v1, :cond_1

    .line 161
    const-string v1, "payment-inapp"

    const-string v2, "purchase was successfully sent to server"

    invoke-static {v1, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 163
    invoke-static {}, Lcom/melesta/payment/PaymentManager;->getInstance()Lcom/melesta/payment/PaymentManager;

    move-result-object v1

    new-instance v2, Lcom/melesta/payment/inapp/InAppResponse;

    invoke-direct {v2}, Lcom/melesta/payment/inapp/InAppResponse;-><init>()V

    invoke-virtual {v0}, Lcom/melesta/payment/inapp/InAppRequest;->getName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/melesta/payment/inapp/InAppResponse;->setName(Ljava/lang/String;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v2

    invoke-virtual {v0}, Lcom/melesta/payment/inapp/InAppRequest;->getSku()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/melesta/payment/inapp/InAppResponse;->setSku(Ljava/lang/String;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v2

    sget-object v3, Lcom/melesta/payment/inapp/InAppResponse$Status;->SENT:Lcom/melesta/payment/inapp/InAppResponse$Status;

    invoke-virtual {v2, v3}, Lcom/melesta/payment/inapp/InAppResponse;->setStatus(Lcom/melesta/payment/inapp/InAppResponse$Status;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v2

    iget-object v3, p0, Lcom/melesta/payment/inapp/InAppSystem$InAppPurchaseObserver;->this$0:Lcom/melesta/payment/inapp/InAppSystem;

    #getter for: Lcom/melesta/payment/inapp/InAppSystem;->defaultListener:Lcom/melesta/payment/interfaces/IListener;
    invoke-static {v3}, Lcom/melesta/payment/inapp/InAppSystem;->access$200(Lcom/melesta/payment/inapp/InAppSystem;)Lcom/melesta/payment/interfaces/IListener;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/melesta/payment/inapp/InAppResponse;->setListener(Lcom/melesta/payment/interfaces/IListener;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/melesta/payment/PaymentManager;->postResponse(Lcom/melesta/payment/interfaces/IResponse;)V

    goto :goto_0

    .line 170
    :cond_1
    sget-object v1, Lcom/google/Consts$ResponseCode;->RESULT_USER_CANCELED:Lcom/google/Consts$ResponseCode;

    if-ne p2, v1, :cond_2

    .line 172
    const-string v1, "payment-inapp"

    const-string v2, "user canceled purchase"

    invoke-static {v1, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 174
    invoke-static {}, Lcom/melesta/payment/PaymentManager;->getInstance()Lcom/melesta/payment/PaymentManager;

    move-result-object v1

    new-instance v2, Lcom/melesta/payment/inapp/InAppResponse;

    invoke-direct {v2}, Lcom/melesta/payment/inapp/InAppResponse;-><init>()V

    invoke-virtual {v0}, Lcom/melesta/payment/inapp/InAppRequest;->getName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/melesta/payment/inapp/InAppResponse;->setName(Ljava/lang/String;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v2

    invoke-virtual {v0}, Lcom/melesta/payment/inapp/InAppRequest;->getSku()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/melesta/payment/inapp/InAppResponse;->setSku(Ljava/lang/String;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v2

    sget-object v3, Lcom/melesta/payment/inapp/InAppResponse$Status;->CANCEL:Lcom/melesta/payment/inapp/InAppResponse$Status;

    invoke-virtual {v2, v3}, Lcom/melesta/payment/inapp/InAppResponse;->setStatus(Lcom/melesta/payment/inapp/InAppResponse$Status;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v2

    iget-object v3, p0, Lcom/melesta/payment/inapp/InAppSystem$InAppPurchaseObserver;->this$0:Lcom/melesta/payment/inapp/InAppSystem;

    #getter for: Lcom/melesta/payment/inapp/InAppSystem;->defaultListener:Lcom/melesta/payment/interfaces/IListener;
    invoke-static {v3}, Lcom/melesta/payment/inapp/InAppSystem;->access$200(Lcom/melesta/payment/inapp/InAppSystem;)Lcom/melesta/payment/interfaces/IListener;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/melesta/payment/inapp/InAppResponse;->setListener(Lcom/melesta/payment/interfaces/IListener;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/melesta/payment/PaymentManager;->postResponse(Lcom/melesta/payment/interfaces/IResponse;)V

    goto :goto_0

    .line 183
    :cond_2
    const-string v1, "payment-inapp"

    const-string v2, "purchase failed"

    invoke-static {v1, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 185
    invoke-static {}, Lcom/melesta/payment/PaymentManager;->getInstance()Lcom/melesta/payment/PaymentManager;

    move-result-object v1

    new-instance v2, Lcom/melesta/payment/inapp/InAppResponse;

    invoke-direct {v2}, Lcom/melesta/payment/inapp/InAppResponse;-><init>()V

    invoke-virtual {v0}, Lcom/melesta/payment/inapp/InAppRequest;->getName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/melesta/payment/inapp/InAppResponse;->setName(Ljava/lang/String;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v2

    invoke-virtual {v0}, Lcom/melesta/payment/inapp/InAppRequest;->getSku()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/melesta/payment/inapp/InAppResponse;->setSku(Ljava/lang/String;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v2

    sget-object v3, Lcom/melesta/payment/inapp/InAppResponse$Status;->ERROR:Lcom/melesta/payment/inapp/InAppResponse$Status;

    invoke-virtual {v2, v3}, Lcom/melesta/payment/inapp/InAppResponse;->setStatus(Lcom/melesta/payment/inapp/InAppResponse$Status;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v2

    invoke-virtual {p2}, Lcom/google/Consts$ResponseCode;->ordinal()I

    move-result v3

    invoke-virtual {v2, v3}, Lcom/melesta/payment/inapp/InAppResponse;->setErrorCode(I)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v2

    iget-object v3, p0, Lcom/melesta/payment/inapp/InAppSystem$InAppPurchaseObserver;->this$0:Lcom/melesta/payment/inapp/InAppSystem;

    #getter for: Lcom/melesta/payment/inapp/InAppSystem;->defaultListener:Lcom/melesta/payment/interfaces/IListener;
    invoke-static {v3}, Lcom/melesta/payment/inapp/InAppSystem;->access$200(Lcom/melesta/payment/inapp/InAppSystem;)Lcom/melesta/payment/interfaces/IListener;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/melesta/payment/inapp/InAppResponse;->setListener(Lcom/melesta/payment/interfaces/IListener;)Lcom/melesta/payment/inapp/InAppResponse;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/melesta/payment/PaymentManager;->postResponse(Lcom/melesta/payment/interfaces/IResponse;)V

    goto/16 :goto_0
.end method

.method public onRestoreTransactionsResponse(Lcom/google/BillingService$RestoreTransactions;Lcom/google/Consts$ResponseCode;)V
    .locals 5
    .parameter "request"
    .parameter "responseCode"

    .prologue
    .line 199
    sget-object v2, Lcom/google/Consts$ResponseCode;->RESULT_OK:Lcom/google/Consts$ResponseCode;

    if-ne p2, v2, :cond_0

    .line 201
    const-string v2, "payment-inapp"

    const-string v3, "completed RestoreTransactions request"

    invoke-static {v2, v3}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 205
    iget-object v2, p0, Lcom/melesta/payment/inapp/InAppSystem$InAppPurchaseObserver;->this$0:Lcom/melesta/payment/inapp/InAppSystem;

    #getter for: Lcom/melesta/payment/inapp/InAppSystem;->mContext:Landroid/content/Context;
    invoke-static {v2}, Lcom/melesta/payment/inapp/InAppSystem;->access$000(Lcom/melesta/payment/inapp/InAppSystem;)Landroid/content/Context;

    move-result-object v2

    check-cast v2, Landroid/app/Activity;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Landroid/app/Activity;->getPreferences(I)Landroid/content/SharedPreferences;

    move-result-object v1

    .line 207
    .local v1, prefs:Landroid/content/SharedPreferences;
    invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    .line 208
    .local v0, edit:Landroid/content/SharedPreferences$Editor;
    const-string v2, "db_initialized"

    const/4 v3, 0x1

    invoke-interface {v0, v2, v3}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;

    .line 209
    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 215
    .end local v0           #edit:Landroid/content/SharedPreferences$Editor;
    .end local v1           #prefs:Landroid/content/SharedPreferences;
    :goto_0
    return-void

    .line 212
    :cond_0
    const-string v2, "payment-inapp"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "RestoreTransactions error: "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    goto :goto_0
.end method
